package com.yzkj.cpjxc.business.service;

import com.yzkj.cpjxc.business.framework.common.BusinessMap;
import com.yzkj.cpjxc.business.framework.common.Pager;
import com.yzkj.cpjxc.business.domain.InitialFinancialBalance;
import com.yzkj.cpjxc.business.domain.InitialFinancialBalanceQueryVo;

/**
 * 财务初始余额表 Service 接口
 */
public interface InitialFinancialBalanceService {
	
	/**
	 * 获取查询分页对象
	 * @creator: shenghe.he
	 * @modifier:
	 * @modifiedDate:
	 * @param pager
	 * @param queryVo
	 * @return
	 * @throws Exception
	 */
	public Pager<InitialFinancialBalance> search(Pager<InitialFinancialBalance> pager, InitialFinancialBalanceQueryVo queryVo) throws Exception;
	
	/**
	 * 新增财务初始余额表
	 * @creator: shenghe.he
	 * @modifier:
	 * @modifiedDate:
	 * @param initialFinancialBalance
	 * @return
	 * @throws Exception
	 */
	public BusinessMap create(InitialFinancialBalance initialFinancialBalance) throws Exception;
	
	/**
	 * 判断是否存在
	 * @creator: shenghe.he
	 * @modifier:
	 * @modifiedDate:
	 * @param initialFinancialBalance 财务初始余额表
	 * @return
	 * @throws Exception
	 */
	public boolean isExists(InitialFinancialBalance initialFinancialBalance) throws Exception;
	
	/**
	 * 根据ID获取财务初始余额表
	 * @creator: shenghe.he
	 * @modifier:
	 * @modifiedDate:
	 * @param uuid
	 * @return
	 * @throws Exception
	 */
	public InitialFinancialBalance getById(String uuid) throws Exception;
	
	/**
	 * 编辑财务初始余额表
	 * @creator: shenghe.he
	 * @modifier:
	 * @modifiedDate:
	 * @param initialFinancialBalance 财务初始余额表
	 * @return
	 * @throws Exception
	 */
	public BusinessMap edit(InitialFinancialBalance initialFinancialBalance) throws Exception;
	
	/**
	 * 根据ID删除财务初始余额表
	 * @creator: shenghe.he
	 * @modifier:
	 * @modifiedDate:
	 * @param uuid
	 * @return
	 * @throws Exception
	 */
	public boolean delete(String uuid) throws Exception;

	public InitialFinancialBalance getByZhangTaoIdAndKeMuId(String zhangTaoId, String keMuId) throws Exception;
	

}
